﻿using Application.AppService.ERAppService;
using AutoMapper;
using Domain;
using Microsoft.AspNetCore.Mvc;

namespace UI.Controllers.RecruitmentManagement_招聘管理_.resume_management_简历管理_
{
	public class ERSSController : Controller
	{
		private readonly IMapper mapper;
		private readonly IERAppService eRAppService;

		public ERSSController(IMapper mapper, IERAppService eRAppService)
		{
			this.mapper = mapper;
			this.eRAppService = eRAppService;
		}
		public IActionResult Index()
		{
			return View();
		}
		public IActionResult Index1()
		{
			return View();
		}
		public IActionResult Index2()
		{
			return View();
		}
		[HttpPost("FYERSS")]
		public IActionResult FYERSS(string HumanMajorKindId, string HumanMajorId, string gzc, DateTime startDate, DateTime endDate, int page, int pageSize)
		{

			ERFenYE erFenYE = eRAppService.DateERSSAsync(HumanMajorKindId, HumanMajorId, gzc, startDate, endDate, page, pageSize, 2,1);
			return Json(erFenYE);
		}
	}
}
